package com.xjtu.platform.common;

import com.xjtu.platform.common.model.User;


public interface CommonService {
    User getUserById(String userId);
    Cache findCacheByKey(String key);
    Cache findCacheByKeyNearTime(String key, Long time);

    void setCache(String cache_id, String value);

    void deleteCache(String cache_id);

}
